<%--
  Created by IntelliJ IDEA.
  User: owner
  Date: 2018-08-07
  Time: 11:56
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<nav>
<div class="indexNav">
    <img class="catear" id="catear" src="img/site/catear.png"
         style="left: 260.5px; top: 159.65px; display: none;">
    <div class="indexNav_head">
        <span class="glyphicon glyphicon-th-list" style="margin-left: 20px"></span>
        <span style="margin-left: 20px">商品分类</span>
    </div>
    <div class="indexNav_right">
          <span class="indexNav_mycate">
                   <a href="/forehome" style="font-size: 14px">
                       <span class="glyphicon glyphicon-shopping-cart"></span>
                       天猫超市
                   </a>
                </span>
        <span class="indexNav_mycate">
                    <a href="/forehome" style="font-size: 14px">
                        <span class="glyphicon glyphicon-globe"></span>
                        天猫国际
                    </a>
                </span>
        <c:forEach items="${categories}" begin="10" end="13" var="cat" varStatus="st">
                    <span class="indexNav_mycate">
                   <a href="/forecategory?cid=${cat.id}&sort=all" style="font-size: 14px">
                       <span class="glyphicon glyphicon-shopping-cart"></span>
                       ${cat.name}
                   </a>
                </span>
        </c:forEach>
    </div>
</div>
